HVM vif without bridge.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 09:40:33 +0000 (09:40 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 09:40:33 +0000 (09:40 +0000)
When using xen without a bridge but NAT or routing, HVM domains can't
boot, and qemu-dm-n.log contains:

config qemu network with xen bridge for  tap0 xenbr0
bridge xenbr0 does not exist!

That's because the qemu-ifup script always tries to add the vif to
a default-named xenbr0 bridge. On the contrary, PV domains just work
fine with the same configuration file except HVM parameters.

Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
tools/ioemu/target-i386-dm/qemu-ifup

index bdc5aecc0efccf8a370ce451ee9630c84f221b34..bcbee92d6523e6f76eaa975b2ed014fd0cb956b7 100644 (file)
@@ -34,4 +34,4 @@ then
 fi
 
 ifconfig $1 0.0.0.0 up
-brctl addif $bridge $1
+brctl addif $bridge $1 || true